package com.plian.system.service.pf;

import com.plian.system.entity.pf.LeadershipPayRecord;
import com.plian.system.entity.pf.LeadershipPayRecordDetail;
import com.plian.system.model.ListResult;
import com.plian.system.mybatis.base.BaseService;
import com.plian.system.mybatis.support.Query;
import com.plian.system.vo.pf.LeadershipPayRecordVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ILeadershipPayRecordService extends BaseService<LeadershipPayRecord> {

    boolean submit(LeadershipPayRecord leadershipPayRecord);

    LeadershipPayRecordVO getDetailObj(LeadershipPayRecord leadershipPayRecord);

    ListResult<LeadershipPayRecordVO> list(@RequestBody Query query);

    List<LeadershipPayRecordDetail> uploadFile(MultipartFile multipartFile);

    void toExcel(LeadershipPayRecordVO leadershipPayRecordVO, HttpServletResponse response) throws Exception;

    String saveLeadershipRecord(String data);
}
